package com.ow.dva.module.duty.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ow.dva.module.base.entity.base.BaseEntity;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 值班分配
 * </p>
 *
 * @author jinagyanpeng
 * @since 2020-04-09
 * @version V1.0
 */
@TableName("dva_duty")
@ApiModel(value="Duty对象", description="值班分配")
public class Duty implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "车道ID")
    private String roadId;

    @ApiModelProperty(value = "车道名称")
    private String roadName;

    @ApiModelProperty(value = "值班人ID")
    private String accountInfoId;

    @ApiModelProperty(value = "值班人名称")
    private String accountInfoName;

    @ApiModelProperty(value = "周次(1：周一，2：周二，3：周三，4：周四，5：周五，6：周六，7：周日)")
    private Integer week;

    @ApiModelProperty(value = "时段(1：上午，2：下午，3：晚上)")
    private Integer timeInterval;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRoadId() {
        return roadId;
    }

    public void setRoadId(String roadId) {
        this.roadId = roadId;
    }

    public String getRoadName() {
        return roadName;
    }

    public void setRoadName(String roadName) {
        this.roadName = roadName;
    }

    public String getAccountInfoId() {
        return accountInfoId;
    }

    public void setAccountInfoId(String accountInfoId) {
        this.accountInfoId = accountInfoId;
    }

    public String getAccountInfoName() {
        return accountInfoName;
    }

    public void setAccountInfoName(String accountInfoName) {
        this.accountInfoName = accountInfoName;
    }

    public Integer getWeek() {
        return week;
    }

    public void setWeek(Integer week) {
        this.week = week;
    }

    public Integer getTimeInterval() {
        return timeInterval;
    }

    public void setTimeInterval(Integer timeInterval) {
        this.timeInterval = timeInterval;
    }

    @Override
    public String toString() {
        return "Duty{" +
            "id=" + id +
            ", roadId=" + roadId +
            ", roadName=" + roadName +
            ", accountInfoId=" + accountInfoId +
            ", accountInfoName=" + accountInfoName +
            ", week=" + week +
            ", timeInterval=" + timeInterval +
        "}";
    }
}
